-
Home
-
WooCommerce PayPal Payments
-
2.0.5
-
Code
-
Classes
- CreditCardGateway
Total Complexity |
40 |
Dependencies |
18 |
Dependents |
12 |
Total lines |
482 |
Lines of code |
225 |
Logical lines of code |
84 |
Comment lines |
175 |
Methods |
15 |
Properties |
13 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
process_payment() |
A |
44 |
10 |
49 |
__construct() |
A |
41 |
8 |
60 |
get_icon() |
S |
55 |
3 |
20 |
card_labels() |
S |
50 |
1 |
39 |
replace_credit_card_cvv_label() |
S |
70 |
3 |
6 |
process_refund() |
S |
67 |
2 |
7 |
init_settings() |
S |
75 |
2 |
4 |
get_option() |
S |
71 |
2 |
6 |
update_option() |
S |
65 |
2 |
9 |
is_enabled() |
S |
79 |
2 |
3 |
init_form_fields() |
S |
70 |
1 |
7 |
form() |
S |
72 |
1 |
5 |
is_available() |
S |
81 |
1 |
3 |
get_transaction_url() |
S |
75 |
1 |
4 |
settings_renderer() |
S |
82 |
1 |
3 |